home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Business Assistant
/
Business Assistant.iso
/
acctg
/
pay1pers
/
editemps.prg
next >
Wrap
Text File
|
1987-01-15
|
848b
|
37 lines
*** EDITEMPS.PRG (v. 2.6) 01/15/87
*** Copyright @ 1987, Martin J. Michaelson
CLEAR
DO WHILE selectnum = 2
CLEAR
STORE SPACE(25) TO MNAME
@ 5,5 SAY 'ENTER EMPLOYEE NAME : ' GET MNAME
@ 6,17 SAY '( or <cr> to return to Main Menu )'
READ
IF MNAME = ' '
EXIT
ENDIF
SEEK TRIM(UPPER(MNAME))
IF EOF()
@ 8,5 SAY 'EMPLOYEE '+MNAME+' NOT FOUND'
?
WAIT ' Press any key to continue...'
LOOP
ENDIF
STORE .T. TO again
DO WHILE again
set format to PAYX
READ
@21,0
WAIT SPACE(10) + 'ARE YOUR ENTRIES CORRECT? (Y/N) ' TO x
IF x $ 'Yy'
STORE .F. TO again
ENDIF
set format to
ENDDO while again
IF again
LOOP
ENDIF
ENDDO
CLEAR
RETURN